﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using Wcf._5Dev.SettlementExpenses.Domain;

namespace Wcf._5Dev.SettlementExpenses
{    
    [ServiceContract]
    public interface ISettlementExpenses
    {            
               
        [OperationContract]
        List<CostCenter> ListCostCenter();
        [OperationContract]
        CostCenter InsertCostCenter(string denomination, string description);
        [OperationContract]
        CostCenter UpdateCostCenter(int id, string denomination, string description);
        [OperationContract]
        CostCenter DeleteCostCenter(int id);
        [OperationContract]
        CostCenter GetCostCenter(int id);


        [OperationContract]
        List<CostConcept> ListCostConcept();
        [OperationContract]
        CostConcept InsertCostConcept(string code, string description);
        [OperationContract]
        CostConcept UpdateCostConcept(int id, string code, string description);
        [OperationContract]
        CostConcept DeleteCostConcept(int id);
        [OperationContract]
        CostConcept GetCostConcept(int id);

        [OperationContract]
        List<Employee> ListEmployee();
        [OperationContract]
        Employee InsertEmployee(string name);
        [OperationContract]
        Employee UpdateEmployee(int id, string name);
        [OperationContract]
        Employee DeleteEmployee(int id);
        [OperationContract]
        Employee GetEmployee(int id);

        [OperationContract]
        List<DailyExpense> ListDailyExpense();
        [OperationContract]
        DailyExpense InsertDailyExpense(string name);
        [OperationContract]
        DailyExpense UpdateDailyExpense(int id, string name);
        [OperationContract]
        DailyExpense DeleteDailyExpense(int id);
        [OperationContract]
        DailyExpense GetDailyExpense(int id);   
    }    
    
}
